package dk.mirasola.systemtraining.bridgewidgets.shared.model.distributionfiltertree.shape;


public final class WildcardShapeElement extends ShapeElement {
    public WildcardShapeElement() {
    }

    public boolean match(int suitCount) {
        return true;
    }

    public String toString() {
        return "*";
    }

    @Override
    public boolean equals(Object obj) {
        return (obj instanceof WildcardShapeElement);
    }

    @Override
    public int hashCode() {
        return "*".hashCode();
    }
}
